package cn.itsource.basic.annotation;

import cn.itsource.system.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;

//@Component
public class PermissionScanInitListener implements CommandLineRunner {

    @Autowired
    private IPermissionService permissionService;

    @Override
    public void run(String... args) throws Exception {
        //permissionService.scanPermission();
        System.out.println("项目启动就开始跑");
    }
}
